﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace GUI
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void toolStripMenuItem3_Click(object sender, EventArgs e)
        {
            QuanLyKho fr = new QuanLyKho();
            fr.ShowDialog();
        }

        private void trợGiúpToolStripMenuItem_Click(object sender, EventArgs e)
        {
        }

        private void toolStripMenuItem1_Click(object sender, EventArgs e)
        {
            QuanLyHop fr = new QuanLyHop();
            fr.ShowDialog();
        }

        private void phiếuNhậnĐặtCơmToolStripMenuItem_Click(object sender, EventArgs e)
        {
           
        }

        private void quảnLýToolStripMenuItem_Click(object sender, EventArgs e)
        { 

        }

        private void cấuHìnhToolStripMenuItem_Click(object sender, EventArgs e)
        {
            CauHinh fr = new CauHinh();
            fr.ShowDialog();
        }

        private void lậpLịchMónĂnToolStripMenuItem_Click(object sender, EventArgs e)
        {
            QuanLyLich fr = new QuanLyLich();
            fr.ShowDialog();
        }

        private void thựcĐơnToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ThucDon fr = new ThucDon();
            fr.ShowDialog();
        }

        private void nhómMónĂnToolStripMenuItem_Click(object sender, EventArgs e)
        {
            NhomMonAn fr = new NhomMonAn();
            fr.ShowDialog();
        }

        private void lậpPhiếuĐặtCơmToolStripMenuItem_Click(object sender, EventArgs e)
        {
            PhieuDatCom fr = new PhieuDatCom();
            fr.Show();
        }

        private void thốngKêPhiếuĐặtCơmToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ThongKe_PhieuDatCom fr = new ThongKe_PhieuDatCom();
            fr.ShowDialog();
        }

        private void toolStripMenuItem2_Click(object sender, EventArgs e)
        {
            this.Visible = false;
            DangNhap frm = new DangNhap();
            frm.ShowDialog();
        }

        private void Form1_FormClosing(object sender, FormClosingEventArgs e)
        {
            Application.Exit();
        }

        private void Form1_Load(object sender, EventArgs e)
        {

        }
    }
}
